Pronamic\WordPress\Pay\Extensions\RestrictContentPro\Upgrade216 S

Total Complexity 44
Dependencies 6
Dependents 1
Total lines 520
Lines of code 299
Logical lines of code 143
Comment lines 128
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
upgrade_subscriptions()
B
34 14 104
upgrade_payments()
S
47 6 39
get_rcp_membership_by_rcp_payment_id()
S
55 6 21
cli_init()
S
45 1 51
is_rcp_membership_for_wp_user_id()
S
63 3 11
get_rcp_membership_by_wp_user_id()
S
63 3 11
__construct()
S
67 3 7
get_payment_posts()
S
56 1 19
get_subscription_posts()
S
58 1 16
log()
S
73 2 5
get_rcp_payment_by_rcp_payment_id()
S
67 2 8
execute()
S
79 1 3
upgrade()
S
78 1 4